﻿using System;
using System.Collections.Generic;

namespace HML
{

    /// <summary>
    /// Angle值格式化事件参数
    /// </summary>
    public class IntAngleFormatEventArgs : EventArgs
    {
        private readonly double angle;
        /// <summary>
        /// 当前Angle值
        /// </summary>
        public double Angle
        {
            get { return this.angle; }
        }

        private string angleFormat;
        /// <summary>
        /// 格式化后的值文本
        /// </summary>
        public string AngleFormat
        {
            get { return this.angleFormat; }
            set { this.angleFormat = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="angle">当前Angle值</param>
        /// <param name="angleFormat">格式化后的值文本</param>
        public IntAngleFormatEventArgs(int angle, string angleFormat)
        {
            this.angle = angle;
            this.angleFormat = angleFormat;
        }

    }
}
